package com.hisysteTopet.hisystepet.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

import java.sql.Timestamp;

@Component
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("indent_pet")
public class IndentPet {

    private Integer indentId;
    private Double sumMoney;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Timestamp data;
    private String address;
    private String payment;
    private String username;
    private Integer petId;
    private Integer petNum;
//    @TableField(exist = false)  //当前属性表中不存在
    private String petName;

}
